package com.acce.system.dao;

import java.util.List;
import java.util.Map;

import com.acce.system.pojo.CompanyDepartment;


public interface IDepartmentDao {
	
	CompanyDepartment getCompanyDepartmentById(CompanyDepartment department);
	
	List<CompanyDepartment> getCompanyDepartmentByCondition(CompanyDepartment department);
	
	List<CompanyDepartment> getCompanyDepartmentForYueXi(CompanyDepartment department);
	
	int insertDepartment(CompanyDepartment department);
	
	boolean insertBatchDepartment(List<CompanyDepartment> Departments);
	
	boolean updateDepartment(CompanyDepartment department);
	
	boolean updateBatchDepartment(List<CompanyDepartment> Departments);
	
	boolean deleteCompanyDepartmentById(Map<String, String> department);
	
}
